import request from '@/utils/request'
// 登录
export const studentLoginAPI = function (username, password) {
  return request.post('/student/login', {
    username,
    password
  })
}

// 注册
export const studentRegistAPI = function (username, password) {
  return request.post('/student/regist', {
    username,
    password
  })
}
